<?php if($this->session): ?>
<?php else: ?>
<h4>Login</h4>
<form action="<?php echo $this->baseUrl; ?>/user/login" method="post">
<label for="username">Email</label><br />
<input type="text" name="username" />
<br />
<label for="password">Title</label><br />
<input type="password" name="password"/>
<br />
<div id="formbutton">
<input type="submit" value="Login" />
</div>
</form>
<?php endif;